package com.wego.upms.service;

import com.alibaba.fastjson.JSONArray;
import com.wego.common.base.BaseService;
import com.wego.upms.model.UpmsPermission;
import com.wego.upms.model.UpmsPermissionExample;

/**
* UpmsPermissionService接口
* Created by Lee on 2018/3/5.
*/
public interface UpmsPermissionService extends BaseService<UpmsPermission, UpmsPermissionExample > {

    JSONArray getTreeByRoleId ( Integer roleId );

    JSONArray getTreeByUserId ( Integer usereId, Byte type );

}